﻿using System.Collections.Generic;
using DAO;
using DTO;

namespace BUS
{
    public class LichSuNguoiDungViPhamBUS
    {
        public static List<LichSuNguoiDungViPhamDTO> getAll()
        {
            return LichSuNguoiDungViPhamDAO.getAll();
        }

        public static LichSuNguoiDungViPhamDTO getAlongCode(int maLSNDVP)
        {
            return LichSuNguoiDungViPhamDAO.getAlongCode(maLSNDVP);
        }

        public static void Insert(LichSuNguoiDungViPhamDTO _insert)
        {
            LichSuNguoiDungViPhamDAO.Insert(_insert);
        }

        public static void Delete(int maLSNDVP)
        {
            LichSuNguoiDungViPhamDAO.Delete(maLSNDVP);
        }

        public static void Update(LichSuNguoiDungViPhamDTO dto)
        {
            LichSuNguoiDungViPhamDAO.Update(dto);
        }
    }
}
